package com.huanying.goodjob.jobtype;

import java.util.List;
import java.util.Map;

import com.huanying.framework.PageBean;

public interface JobtypeService {

	public void add_jobtype(Jobtype jobtype) throws Exception; // 添加工种

	public void update_jobtype(Jobtype jobtype) throws Exception; // 更新工种

	public int delete_jobtype(int id) throws Exception; // 修改状态

	public PageBean search_jobtype(Map<String, Object> map, int pageSize, int page) throws Exception; // 查询工种

	public List search_jobtypes()throws Exception;
	
	public Jobtype getbyId_jobtype(int id) throws Exception;

	public void delete_jobtype_skill(int id, int status) throws Exception;
	
}
